﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Text;

namespace YiDingCanWp7
{
    public partial class AboutApp : PhoneApplicationPage
    {
        private string words = "         易订餐为用户提供周边餐馆的外卖菜单。用户可查看餐单并电话呼叫订餐。对于喜欢的餐馆，还可以收藏、点评。";
        public AboutApp()
        {
            InitializeComponent();
            var builder = new StringBuilder();
            foreach (char word in words)
            {
                var b = (int) word;
                builder.Append("&#" + b + ";");
            }
            textViewer.NavigateToString(builder.ToString());

        }
        
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
        }
    }
}